package cn.ffcs.uec.outStaff.component;

import lombok.Getter;
import lombok.Setter;


import javax.servlet.http.HttpServletRequest;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;
import org.zkoss.zk.ui.Components;
import org.zkoss.zk.ui.Executions;
import org.zkoss.zk.ui.IdSpace;
import org.zkoss.zul.Div;

import cn.ffcs.uec.outStaff.component.bean.UecOutStaffInfomationListboxBean;
import cn.ffcs.uom.common.util.IPortletInfoProvider;

@Controller
@Scope("prototype")
public class UecOutStaffInfomationListboxExt extends Div implements IdSpace {
	private static final long serialVersionUID = -6295283038198818335L;
	/**
	  * 对应页面上的bean
	 */
	private UecOutStaffInfomationListboxBean bean = new UecOutStaffInfomationListboxBean();
	public static final String zul="/pages_nmg/uecOutStaffInfomation/comp/uec_outstaffInfomation_listbox_ext.zul";
	public HttpServletRequest httpRequest = (HttpServletRequest) Executions.getCurrent()
             .getNativeRequest();
	public String contextPath = httpRequest.getContextPath();
	@Getter
	@Setter
	private IPortletInfoProvider portletInfoProvider;

	public UecOutStaffInfomationListboxExt() {
		Executions.createComponents(
				zul,
				this, null);
		Components.wireVariables(this, bean);
		Components.addForwards(this, this, '$');
	}

	
}
